home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- CLS
- SET COMPORT=1
- SET CON-RATE=9600
- SET COM1=57600
- SET DLPATH=C:\DOWNLOAD
- SET ABORTS=
- REM SET ABORTS=K-
- SET ERRORS=
- REM SET ERRORS=/F
- REM COMPORT = 1, 2, 3, 4 for COM1, COM2, COM3, or COM4
- REM COMx=yyyyy ; x=PORT y=LOCKED PORT RATE
- REM CON-RATE = 1200, 2400, 9600 ; use 0 and Tmodem will ask....
- REM Don't worry, use 9600 if you dial out 9600 or faster
- REM DLPATH = where you want DOWNLOADS sent.....
- REM
- REM ABORTS=-K means keep aborts, TMODEM does not allow the RESUME of
- REM ABORTS or even the OVERWRITE of existing files. You could keep
- REM ABORTS and resume with ZModem, SZmodem, HS/LIMK, or others.
- REM
- REM ERRORS=/F ; use if you do not have a 16550AFN UART or a SMART
- REM UART or if you get ERRORS, ONLY USE if 9600+ and errors occur.
- REM
- REM MOST Data overruns are caused by not having a SHIELDED Serial Cable on
- REM an EXTERNAL Modem or the wrong type UART on INTERNAL or EXTERNAL Modem.
- REM
- REM It is strongly suggested that you have a 16550AFN UART or one of
- REM the SMART UART's available if you use 19200 or higher, and/or
- REM Multi-Task ala Windows, DesqView, Topview, OS2, or similiar....
- REM
- REM DLPATH cannot be set to a ROOT dir...C:\ ... C:\FILES\DOWNLOAD is OK.
- REM
- REM
- REM The TModem command lines are at the END of this file !
- REM You will normally not need to change the command lines !
- :AGAIN
- CLS
- SET TXHOW=
- ECHO ˇ
- ECHO TModem Upload - Download Processor
- ECHO (Single or Batch Transfers)
- ECHO ˇ
- ECHO COMMANDS are NOT case sensitive !
- ECHO ˇ
- ECHO U u D d A a are all valid.
- ECHO ˇ
- ECHO ABORT = A or CTRL BREAK ( Hold CTRL key tap BREAK key several times !)
- ECHO ˇ
- ECHO Enter Choice : U = UPLOAD ; D = DOWNLOAD ; A = ABORT
- ECHO ˇ
- CIASK Choice : TXHOW
- CLS
- IF .%TXHOW%==.A GOTO END
- IF .%TXHOW%==.a GOTO END
- IF .%TXHOW%==. GOTO AGAIN
- IF .%TXHOW%==.D GOTO DOWNSTART
- IF .%TXHOW%==.d GOTO DOWNSTART
- IF .%TXHOW%==.U GOTO UPSTART
- IF .%TXHOW%==.u GOTO UPSTART
- GOTO AGAIN
- :UPSTART
- CLS
- ECHO ˇ
- ECHO ˇ
- ECHO Use of C:\UP instead of C:\UPLOAD can reduce typing
- ECHO and allows more filename entries.....
- ECHO ˇ
- ECHO Wilcards * and ? are OK ! Use a SPACE as a seperator !
- ECHO ˇ
- ECHO i.e. C:\UP\FILENAME.EXT or C:\UP\DOC?.ZIP or D:\UP\*.*
- ECHO ˇ
- ECHO i.e. C:\UP\*.ZIP D:\DOC\*.DOC E:\FILES\NEW*.ZIP
- ECHO ˇ
- ECHO i.e.: @C:\UPLOAD\FILES.LST (Files.lst = pre-made file list)
- ECHO ¿ƒƒƒƒ Required to BATCH upload with file list !
- ECHO ˇ
- ECHO HIT ENTER to ABORT !
- ECHO ˇ
- CIASK FILES: FILENAME
- IF .%FILENAME%==. GOTO END
- TMODEM /A %ERRORS% /B%CON-RATE% /P%COMPORT% /S %FILENAME%
- REM
- GOTO END
- :DOWNSTART
- REM
- REM
- REM "Place your own configuration for TMODEM DOWNLOADS in the line below."
- TMODEM /A %ABORTS% %ERRORS% /B%CON-RATE% /P%COMPORT% /U%DLPATH% /R
- :END
- SET TXHOW=
- SET FILENAME=